package com.hxkj.dao;

import com.hxkj.domain.po.CommonWithdraw;

import java.util.List;

/**
* 提现订单表数据操作接口
*
* @author: yangjianguo
* @version: 1.0
* @datetime: 2019-01-15 14:30:54
*
*/
public interface CommonWithdrawDao {

    /**
    *
    * 根据主键查询CommonWithdraw对象
    *
    * @param id
    * @return CommonWithdraw对象
    */
    CommonWithdraw get(String id);

    /**
    *
    * 根据查询条件查询符合条件的CommonWithdraw对象
    *
    * @param commonWithdraw
    * @return 符合条件的CommonWithdraw对象List
    */
    List<CommonWithdraw> get(CommonWithdraw commonWithdraw);

    /**
    *
    * 根据主键删除CommonWithdraw对象
    *
    * @param id
    * @return 影响条件数
    */
    int delete(String id);

    /**
    *
    * 插入CommonWithdraw对象
    *
    * @param commonWithdraw
    * @return 影响条件数
    */
    int save(CommonWithdraw commonWithdraw);

    /**
    *
    * 更新CommonWithdraw对象
    *
    * @param commonWithdraw
    * @return 影响条件数
    */
    int update(CommonWithdraw commonWithdraw);

}
